package com.yincheng.oes.business.exam.judgepaper.entity;

import java.util.Date;

/**
 *
 * @author yangsy
 * @version 1.0.0
 * @since
 * 创建时间：2018年7月18日
 * 功能描述：考试成绩的题目信息实体
 * 邮箱地址：446948434@qq.com
 */
public class PaperResultDetail {

    /**
     * 主键id
     */
    private Integer id;

    /**
     * 题目id
     */
    private Integer quesId;

    /**
     * 试卷id
     */
    private String paperId;

    /**
     * 考试成绩id
     */
    private String paperResultId;

    /**
     * 我的选项
     */
    private String myAnswer;

    /**
     * 是否正确，0：否、1：是
     */
    private String correctFlag;

    /**
     * 回答时间
     */
    private Date createTime;

    /**
     * 学生id
     */
    private String studentId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getQuesId() {
        return quesId;
    }

    public void setQuesId(Integer quesId) {
        this.quesId = quesId;
    }

    public String getPaperId() {
        return paperId;
    }

    public void setPaperId(String paperId) {
        this.paperId = paperId;
    }

    public String getPaperResultId() {
        return paperResultId;
    }

    public void setPaperResultId(String paperResultId) {
        this.paperResultId = paperResultId;
    }

    public String getMyAnswer() {
        return myAnswer = myAnswer == null ? "" : myAnswer.trim();
    }

    public void setMyAnswer(String myAnswer) {
        this.myAnswer = myAnswer == null ? null : myAnswer.trim();
    }

    public String getCorrectFlag() {
        return correctFlag;
    }

    public void setCorrectFlag(String correctFlag) {
        this.correctFlag = correctFlag == null ? null : correctFlag.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId == null ? null : studentId.trim();
    }
}
